package com.qiao.train.DAO;

import com.qiao.train.po.Train;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface TrainDAO {
    List<Train> getAllTrain();

    int createTrain(Train train);

    int deleteTrain(int id);

    int updateTrain(Train train);
}
